<html>
<head><meta charset="utf-8"><title>license question · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/license.20question.html">license question</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="228144085"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/license%20question/near/228144085" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Viliam Vadocz <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/license.20question.html#228144085">(Feb 28 2021 at 17:29)</a>:</h4>
<p>Hi, I am making a language server for my own programming language. I am taking inspiration from rust-analyzer. What is the correct way to credit you? If I understand correctly, the repo is under the MIT and APACHE licenses. I should just add a copies of them to my project?</p>



<a name="228145778"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/license%20question/near/228145778" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/license.20question.html#228145778">(Feb 28 2021 at 17:56)</a>:</h4>
<p>Could you split your message into a different topic? It makes it easier to track different threads that way. Just click the 'edit' button and then change the topic of your message.</p>



<a name="228145829"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/license%20question/near/228145829" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Viliam Vadocz <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/license.20question.html#228145829">(Feb 28 2021 at 17:57)</a>:</h4>
<p>Is this better? This is my first time using Zulip, so I appreciate the help.</p>



<a name="228148062"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/license%20question/near/228148062" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/license.20question.html#228148062">(Feb 28 2021 at 18:38)</a>:</h4>
<p>Yep, that's great! Thanks :)</p>



<a name="228148105"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/license%20question/near/228148105" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/license.20question.html#228148105">(Feb 28 2021 at 18:38)</a>:</h4>
<p>Yeah, Zulip can be very disorienting at first.</p>



<a name="228151577"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/license%20question/near/228151577" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> scottmcm <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/license.20question.html#228151577">(Feb 28 2021 at 19:37)</a>:</h4>
<p><span class="user-mention silent" data-user-id="393260">Viliam Vadocz</span> <a href="#narrow/stream/122651-general/topic/license.20question/near/228144085">said</a>:</p>
<blockquote>
<p>I am taking inspiration from rust-analyzer.</p>
</blockquote>
<p>What you need to do likely depends on the details of what "inspiration" means, specifically whether your language server is a <em>derivative work</em> of rust-analyzer.</p>
<p>If you started from the RA code and are incrementally updating it, then you'll need to follow the MIT/Apache license rules.  But if you're using it as an example of how to speak LSP but writing everything independently, then you might not <em>need</em> do do anything -- ideas aren't subject to copyright.  Of course, a note of thanks in the documentation is always a nice thing to do.</p>
<p>(Obligatory IANAL, etc.)</p>



<a name="228153694"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/license%20question/near/228153694" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Viliam Vadocz <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/license.20question.html#228153694">(Feb 28 2021 at 20:12)</a>:</h4>
<p>I forgot to mention that I am writing the language server in Rust.<br>
I am starting from scratch, but since the documentation for the lsp_types and lsp_server crates is not great, in a lot of cases, I am using rust-analyzer as an example. There are times when I copied code because I couldn't think of a better way to do something. That said, I often simplify it after seeing what I actually want / need. I will put a link to rust-analyzer in the README. The code is open-source, I am just not sure about the correct license procedure.</p>



<a name="228153925"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/license%20question/near/228153925" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Viliam Vadocz <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/license.20question.html#228153925">(Feb 28 2021 at 20:16)</a>:</h4>
<p>The language for which I am making it is just a hobby project and has only 1 user right now, so I do not think lawyers will get involved anytime soon :)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>